From ebea84474d8ab74fd758337881af19eaa548af4c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 5 Apr 2018 17:09:52 +0200 Subject: [PATCH] widget: Fix variable names Stop docs build from complaining --- gtk/gtkwidget.c | 2 +- gtk/gtkwidget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index b91b83d95d..a140e12fce 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -11481,7 +11481,7 @@ gtk_widget_get_own_allocation (GtkWidget *widget, * gtk_widget_compute_bounds: * @widget: the #GtkWidget to query * @target: the #GtkWidget - * @bounds: (out caller-allocates): the rectangle taking the bounds + * @out_bounds: (out caller-allocates): the rectangle taking the bounds * * Computes the bounds for @widget in the coordinate space of @target. * FIXME: Explain what "bounds" are. diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 22f2daf27c..d90d065a8c 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -624,7 +624,7 @@ void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation); GDK_AVAILABLE_IN_ALL gboolean gtk_widget_compute_bounds (GtkWidget *widget, - GtkWidget *other, + GtkWidget *target, graphene_rect_t *out_bounds); GDK_AVAILABLE_IN_ALL -- 2.30.2